﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="lgweb.login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
   <title>深圳市龙岗区人民法院－内部网系统登录</title>
    <link href="/css/inside/base.css" rel="stylesheet" type="text/css" />
    <link href="/css/inside/login.css" rel="stylesheet" type="text/css" />
    <script src="/js/common/common.js" type="text/javascript"></script>
    <script src="/js/common/jquery-1.3.1.min.js" type="text/javascript"></script>
    <script src="/js/common/jquery.common.js" type="text/javascript"></script>
    <script src="/js/common/HttpRequest.js" type="text/javascript"></script>
    <script src="/js/inside/login.js" type="text/javascript"></script>    
</head>
<body onload="PageLoad();">
    <form id="form1" runat="server" onsubmit="Login();return false;">    
    <div class="login">        
        <div class="con">
            <p><input type="text" value="" class="text" id="txtUserName" runat="server" /><span id="spMessage" runat="server" class="g-c-white" /></p>
            <p><input type="password" value="" class="text" id="txtPassword" runat="server" /></p>
            <p><input type="checkbox" value="" id="chxup" runat="server" onclick="onMemberUP(this);" />记住密码</p>
            <p><input id="btnLogin" type="submit" class="btn" value="   " /><%--<asp:Button ID="Button1" runat="server" CssClass="btn" Text="登录" 
                                            onclick="Button1_Click" OnClientClick="return CheckInfo();" />--%></p>
            <input type="hidden" value="" id="hdnUrl" runat="server" />
        </div>
    </div>
    <%--<div class="login">
        <div class="log-text">
            <div>龙岗法院内部工作平台</div>
        </div>
        <div class="sub">
            <table cellpadding="0" cellspacing="0" class="tbl">
                <tr>
                    <th>用户名</th>
                    <td><input type="text"  id="txtUserName" class="txt" runat="server" value=""/></td>
                </tr>
                <tr>
                    <th>密 码</th>
                    <td><input type="password" value="" class="txt" id="txtPassword" runat="server" /></td>
                </tr>
                <tr>
                    <th></th>
                    <td><input type="button" value="重置" class="g-btn" /></td>
                </tr>
                 <tr>
                    <td colspan="2" id="spMessage" runat="server" class="red"></td>
                 </tr>
            </table>
        </div>
    </div>--%>
		<input id="h_rtxinstalled" style="WIDTH: 10px" type="hidden" name="hidorgid" runat="server" />
		<input id="h_rtxserverip" style="WIDTH: 10px" type="hidden" name="hidorgid" runat="server" />
        <input id="h_rtxserverport" style="WIDTH: 10px" type="hidden" name="hiditem" runat="server" />
        <input type="hidden" id="hdOADomain" runat="server" value="lgfyoa"/>
        <input type="hidden" id="TempPassword" runat="server" value=""/>
    </form>
</body>
</html>
<script type="text/javascript">
    function CheckInfo() {
        var sName = document.getElementById("txtUserName").value;
        if (sName.length <= 0) {
            alert("用户名不能为空！");
            return false;
        }

        //        var sPassword = document.getElementById("txtPassword").value;
        //        var re1 = /^^[a-zA-Z0-9\-]$|^[a-zA-Z0-9\-]\.[a-zA-Z0-9\-]$/;
        //        if (!re1.test(sPassword)) {
        //            alert("密码必须为大于5小于15个字符.不能使用特殊字符！");
        //            return false;
        //        }
        return true;
    }

</script>